package com.igeek.service;

import com.igeek.dao.TypeDao;
import com.igeek.entity.Type;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TypeService {

    @Resource
    private TypeDao typeDao;

    public List<Type> findAll(){
        return typeDao.findAll();
    }
}
